<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/commons/global.jsp" %>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path;
%>

<html>
<head>
	<%@ include file="/commons/basejs.jsp" %>


</head>
<body>
<div class="easyui-layout" style="width:100%;height:85%;">
	<div  id = "menu" data-options="region:'north'" style="height:157px">

		<div class="easyui-ribbon" id="tabs" style="width:100%;">
<!-- 
			<div title="系统管理">
				<div class="ribbon-group">

					<div class="ribbon-toolbar" onclick="insertLog(0,'锁定')">
						<a href="#"  style="margin-left: 2" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-sd',plain:true"></a>
						<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">锁定</a>
					</div>
					<div class="ribbon-toolbar" onclick="insertLog(0,'启动屏保')">
						<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-qdpb',plain:true"></a>
						<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">启动屏保</a>
					</div>
					<div class="ribbon-toolbar" onclick="insertLog(0,'退出'),logout()">
						<a href="#"  style="margin-left: 2" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-tc',plain:true"></a>
						<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">退出</a>
					</div>
					<div class="ribbon-group-title">操作</div>
				</div>
				<div class="ribbon-group-sep"></div>
				<div class="ribbon-group">

					<div class="ribbon-toolbar"  onclick="insertLog(0,'密码设置'),editUserPwd()">
						<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-mmsz',plain:true"></a>
						<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">密码设置</a>
					</div>
					<div class="ribbon-toolbar" onclick="insertLog(0,'用户管理'),goUserList()">
						<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-yhgl',plain:true"></a>
						<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">用户管理</a>
					</div>
					<div class="ribbon-group-title">管理</div>
				</div>
				<div class="ribbon-group-sep"></div>
				<div class="ribbon-group">

					<div class="ribbon-toolbar" onclick="insertLog(0,'群组定义')">
						<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-qzdy',plain:true"></a>
						<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">群组定义</a>
					</div>
					<div class="ribbon-toolbar" onclick="insertLog(0,'方案定义')">
						<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-xt-fady',plain:true"></a>
						<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">方案定义</a>
					</div>
					<div class="ribbon-group-title">操作</div>
				</div>
				<div class="ribbon-group-sep"></div>
			</div>


 -->		


			<div  title="日常工作" selected = "true">
				<div class="ribbon-group">
					<div class="ribbon-toolbar">
						查询: <input id ="searchbox-button" class="easyui-searchbox" style="width:70px">
						<br>
						<a  onclick="insertLog(1,'高级查询条件')" href="#" class="easyui-linkbutton" data-options="name:'cut',iconCls:'icon-cut',plain:true">高级查询条件</a><br>
					</div>
					<div class="ribbon-group-title">终端查询</div>
				</div>
				<div class="ribbon-group-sep"></div>
				<div class="ribbon-group">
					<div class="ribbon-toolbar" >
						时钟:<input class="easyui-datetimespinner" style="width:100px;" data-options="
					value: '6/24/2014',
					showSeconds: false
					"><br>
						密度:<select class="easyui-combobox" name="state" style="width:100px;">
						<option value="AL">1</option>
						<option value="AK">2</option>
						<option value="AZ">3</option>
						<option value="AR">4</option>
						<option value="CA">5</option>
					</select>
					</div>
					<div class="ribbon-group-title">历史数据召测条件设置</div>
				</div>
				<div class="ribbon-group-sep"></div>
				<div class="ribbon-group">
					<div class="ribbon-toolbar">
						起始:<input class="easyui-numberspinner" value="1" style="width:60px;"  data-options="min:1,max:256,required:true,increment:1" style="width:60px;"></input>
						事件编码:<select class="easyui-combobox" name="state" style="width:60px;">
						<option value="AL">简单</option>
						<option value="AK">一般</option>
						<option value="AZ">困难</option>
					</select>
						<br>终止:<input class="easyui-numberspinner" value="256" style="width:60px;"  data-options="min:1,max:256,required:true,increment:1" style="width:60px;"></input>
						最近条数:<input class="easyui-numberspinner" value="1" style="width:60px;"  data-options="min:1,max:256,required:true,increment:1" style="width:60px;"></input>

						<br>分类:<select class="easyui-combobox" name="state" style="width:60px;">
						<option value="AL">简单</option>
						<option value="AK">一般</option>
						<option value="AZ">困难</option>
					</select>
					</div>
					<div class="ribbon-group-title">事件查询条件设置</div>
				</div>
				<div class="ribbon-group-sep"></div>
				<div class="ribbon-group">
					<div class="ribbon-toolbar">
						分类:<select class="easyui-combobox" name="state" style="width:60px;">
						<option value="AL">简单</option>
						<option value="AK">一般</option>
						<option value="AZ">困难</option>
					</select>
						<br>序号:<select class="easyui-combobox" name="state" style="width:60px;">
						<option value="AL">3</option>
						<option value="AK">2</option>
						<option value="AZ">1</option>
					</select>
						<br>内容:<select class="easyui-combobox" name="state" style="width:60px;">
						<option value="AL">简单</option>
						<option value="AK">一般</option>
						<option value="AZ">困难</option>
					</select>
					</div>
					<div class="ribbon-toolbar">
						<a onclick="insertLog(1,'编辑')" href="#" class="easyui-linkbutton" data-options="name:'cut',iconCls:'icon-rc-bj',plain:true">编辑</a><br>
						<a onclick="insertLog(1,'发送') , sendClick('已发送')" href="#" class="easyui-linkbutton" onclick="" data-options="name:'copy',iconCls:'icon-rc-fs',plain:true">发送</a><br>
						<a onclick="insertLog(1,'召测')" href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-zc',plain:true">召测</a>
					</div>
					<div class="ribbon-group-title">信息</div>
				</div>
				<div class="ribbon-group-sep"></div>
				<div class="ribbon-group">

					<div class="ribbon-toolbar">
						<a     onclick="insertLog(1,'版本召测'), sendClick('工作秘钥：J0001<br>会话秘钥：S0002')"  href="#" class="easyui-linkbutton" onclick="" data-options="name:'format',iconCls:'icon-rc-bbzc',plain:true">版本召测</a>
						<br><a onclick="insertLog(1,'工作秘钥'),alert('确认')" href="#" class="easyui-linkbutton" onclick=""  data-options="name:'format',iconCls:'icon-rc-gzmy',plain:true">工作秘钥</a>
						<br><a onclick="insertLog(1,'会话秘钥'),alert('确认')" href="#" class="easyui-linkbutton" onclick=""  data-options="name:'format',iconCls:'icon-rc-hhmy',plain:true">会话秘钥</a>
					</div>
					<div class="ribbon-group-title">秘钥</div>
				</div>
				<div class="ribbon-group-sep"></div>
				<div class="ribbon-group">

					<div class="ribbon-toolbar">
						<a     onclick="insertLog(1,'上电复位'),goExit();"  href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-sdfw',plain:true">上电复位</a>
						<br><a onclick="insertLog(1,'数据复位'),goExit();"  href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-sjfw',plain:true">数据复位</a>
						<br><a onclick="insertLog(1,'参数复位'),goExit();"  href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-csfw',plain:true">参数复位</a>
					</div>
					<div class="ribbon-toolbar">
						<a href="#" onclick="insertLog(1,'软件复位'),goExit();"  class="easyui-linkbutton" onclick="alert('确认')"  data-options="name:'format',iconCls:'icon-rc-rjfw',plain:true">软件复位</a>
					</div>
					<div class="ribbon-group-title">秘钥</div>
				</div>
				<div class="ribbon-group-sep"></div>
				<div class="ribbon-group">

					<div class="ribbon-toolbar">
						<a href="#" onclick="insertLog(1,'召测'),alert('确认')" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-zc1',plain:true">召测</a>
						<br><a  onclick="insertLog(1,'设置'),alert('确认')"  href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-sz',plain:true">设置</a>
						<br><a  onclick="insertLog(1,'广播'),alert('确认')"  href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-gb',plain:true">广播</a>
					</div>
				</div>
				<div class="ribbon-group-sep"></div>
				<div class="ribbon-group">

					<div class="ribbon-toolbar">
						<a     onclick="insertLog(1,'临时限电'),dlg_open('xd_dlg')" href="#"   class="easyui-linkbutton"onclick="dlg_open('xd_dlg')" data-options="name:'format',iconCls:'icon-rc-lsxd',plain:true">临时限电</a>
						<br><a onclick="insertLog(1,'功控'),dlg_open('gk_dlg')" href="#" class="easyui-linkbutton"  onclick="dlg_open('gk_dlg')" data-options="name:'format',iconCls:'icon-rc-gk',plain:true">功控</a>
						<br><a onclick="insertLog(1,'电控'),dlg_open('dk_dlg')" href="#" class="easyui-linkbutton"  onclick="dlg_open('dk_dlg')" data-options="name:'format',iconCls:'icon-rc-dk',plain:true">电控</a>
					</div>
					<div class="ribbon-group-title">控制</div>
				</div>
				<div class="ribbon-group-sep"></div>
				<div class="ribbon-group">

					<div class="ribbon-toolbar">
						<a     onclick="insertLog(1,'进入调试模式')" href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-jrtsms',plain:true">进入调试模式</a>
						<br><a onclick="insertLog(1,'进入批量模式')" href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-jrplms',plain:true">进入批量模式</a>
					</div>
					<div class="ribbon-group-title">运行设置</div>
				</div>
				<div class="ribbon-group-sep"></div>
				<div class="ribbon-group">

					<div class="ribbon-toolbar">
						<a      onclick="insertLog(1,'多媒体设备管理')"  href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-bj',plain:true">多媒体设备管理</a>
						<br><a  onclick="insertLog(1,'终端视屏监测')"  href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-rc-fs',plain:true">终端视屏监测</a>
					</div>
					<div class="ribbon-group-title">光纤终端</div>
				</div>
				<div class="ribbon-group-sep"></div>
			</div>



<!-- 

			<div title="任务管理">
				<div class="ribbon-group">

					<div class="ribbon-toolbar" onclick="insertLog(2,'刷新')" >
						<a href="#" style="margin-left: 2" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format-sx',plain:true"></a>
						<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">刷新</a>
					</div>
					<div class="ribbon-toolbar" onclick="insertLog(2,'导出')">
						<a href="#" style="margin-left: 2" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format-dc',plain:true"></a>
						<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">导出</a>
					</div>
					<div class="ribbon-group-title">管理</div>
				</div>
				<div class="ribbon-group-sep"></div>
				<div class="ribbon-group" >

					<div class="ribbon-toolbar" onclick="insertLog(2,'巡测日志')">
						<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format-xcrz',plain:true"></a>
						<br><a href="#" class="easyui-linkbutton " data-options="name:'format',iconCls:'',plain:true">巡测日志</a>
					</div>
					<div class="ribbon-toolbar" onclick="insertLog(2,'操作日志')">
						<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format-czrz',plain:true"></a>
						<br><a href="#" class="easyui-linkbutton linkbtn" data-options="name:'format',iconCls:'',plain:true">操作日志</a>
					</div>
					<div class="ribbon-toolbar" onclick="insertLog(2,'参数设置日志')">
						<a href="#" style="margin-left: 17" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format-csszrz',plain:true"></a>
						<br><a href="#" class="easyui-linkbutton linkbtn" data-options="name:'format',iconCls:'',plain:true">参数设置日志</a>
					</div>
					<div class="ribbon-group-title">任务分类</div>
				</div>
				<div class="ribbon-group-sep"></div>
				<div class="ribbon-group">

					<div class="ribbon-toolbar" onclick="insertLog(2,'模板配置')">
						<a href="#" style="margin-left: 10" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format-mbpz',plain:true"></a>
						<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">模板配置</a>
					</div>
					<div class="ribbon-group-title">任务模板配置</div>
				</div>
				<div class="ribbon-group-sep"></div>

			</div>
			<div title="信道管理">

			</div>
			<div title="需求测供应">

			</div>
			<div title="远程升级">

			</div>
 -->
			<script>

				function goUserList(){
					$("#_easyui_tree_4").click();
				}
				//插入日志公用方法
                function insertLog(title,bussStr){
                    if(title == 0){
                        title = "系统管理";
					}else if(title == 1){
                        title = "日常工作";
					}else if(title == 2){
                        title = "任务管理";
                    }else if(title == 3){
                        title = "信道管理";
                    }else if(title == 4){
                        title = "需求测供应";
                    }else if(title == 5){
                        title = "远程升级";
                    }
                    var json = {"title" : title,  "method" : bussStr,  "operUrl" : "/shiro/resource/treeGrid", "operIp" : "0:0:0:0:0:0:0:1", "status" : 0}
                    jQuery.ajax({
                        url: '<%=basePath%>/operlog/addLog',
                        type : 'post',
                        data : JSON.stringify(json),
                        contentType: 'application/json;charset=UTF-8',
                        success: function (data) {

                        }
                    })
				}


                var random = function(m){
                    var n =	Math.random()*m;
                    return n.toFixed(2);
                }

                var dlg_close = function(id){
                    $("#"+id).dialog('close');
                }
                var setTop	= function(top,left){
                    var div =  $('#xd_dlg').parent("div");
                }

                $(function(){
                    setTimeout("init()",500);
                })


                function init(){

                    $("#dqjcfh").html((605-random(10)).toFixed(1));
					/* setInterval(() => {
					 $("#dqjcfh").html(($("#dqjcfh").html()-(random(1)-0.5)).toFixed(1));
					 }, 5000); */

                    $('#faultProdNumber').numberspinner({
                        onChange:function(newValue,oldValue){
                            var value = newValue - oldValue;
                            var v = $("#yqfh").html()*1 + value*6;
                            $("#yqfh").html(v);
                        }
                    });

                    $("#menu").find("a").click(function(text){
                        var text = $(this).find(".l-btn-text").html();
                        console.log(text)
                    })
                    $(".searchbox-button").click(function(){
                        reloadtab();
                    })

                    $('#cc1').calendar({
                        current:new Date()
                    });
                    $('#cc2').calendar({
                        current:new Date()
                    });
                    reloadtab();


                    setTop(143,600);



                    $('#tabs').tabs({
                        border:false,
                        onSelect:function(title){
                            titleChange(title);
                        }
                    });



                }

                var dlg_open = function(id){

                    $("#"+id).dialog('open');

                }
                var touru =  function(id){
                    dlg_close(id)
                    ;
                    $('#dlg_text').html("已投入")
                    $('#dlg_text').dialog('open')
                }

                function westchange(index){
                    $("#west").find("div").eq(0).hide();
                    $("#tab_west1").hide();
                    $("#tab_west3").hide();

                    switch (index) {
                        case 1:
                            $("#tab_west1").show();
                            break;
                        case 2:
                            $("#west").find("div").eq(0).show();
                            break;
                        case 3:
                            $("#tab_west3").show();
                            break;
                        case 4:

                            break;

                        default:
                            break;
                    }
                }


                function content(index){
                    $("#content_center2").find("div").eq(0).hide();
                    $("#tab_content1").hide();
                    $("#tab_content3").hide();

                    switch (index) {
                        case 1:
                            $("#tab_content1").show();

                            break;
                        case 2:
                            $("#content_center2").find("div").eq(0).show();

                            break;
                        case 3:
                            $("#tab_content3").show();

                            break;
                        case 4:

                            break;
                        case 5:

                            break;
                        case 6:

                            break;
                        default:
                            break;
                    }
                }

                function titleChange(title){
                    var index = 0;
                    if(title == "日常工作"){
                        index=2;
                        insertLog("1","日常工作");
                    }else if(title == "系统管理"){
                        insertLog("0","系统管理");
                        index=1;
                    }else if(title == "任务管理"){
                        insertLog("2","任务管理");
                        index=3
                    }else if(title == "信道管理"){
                        insertLog("3","信道管理");
                        index=4;
                    }else if(title == "需求测供应"){
                        insertLog("4","需求测供应");
                    	index=5;
					}else if(title == "远程升级"){
                        insertLog("5","远程升级");
						index=6;
					}
                    content(index);
                    westchange(index);
                }

                function sendClick(text){
                    $('#dlg_text').html(text)
                    $('#dlg_text').dialog('open')
                }

                function reloadeast(devaddr){
                    var params={};
                    if(devaddr){
                        params={
                            devaddr:devaddr
                        }
                    }
                    $('#pg').datagrid({
                        queryParams: params
                    });
                    $('#pg').propertygrid('reload');
                }
                $(function(){

                })

                function reloadtab(){
					var param = $("#searchbox-button").val();
					 var url = '<%=basePath%>/util/json';
					 var params={};
					 if(param){
					 params={
					 param:param
					 }
					 }
					 $.get(url,
					 params,
					 function(data){
					 $('#tab_tt').tree({
					 data:data,
					 onClick:function(node){
					 if(node.id.indexOf("click")>=0){
					 reloadeast(node.devaddr);
					 }
					 }
					 });


					 },
					 'json'
					 );
					 

                }

                function ClickCell(rowIndex, field, value) {

                    if(field[rowIndex] &&  rowIndex!="region"){
                        var index = rowIndex.substr(1);
                        var detail = "detail"+index;
                        var context = field[detail];
                        if(!context){
                            context = "";
                        }
                        $('#dlg').html(context)
                        $('#dlg').dialog('open')
                    }

                }


				function goExit(){
					
					
					  parent.$.modalDialog({
					        title : '验证用户信息',
					        width : 300,
					        height : 217,
					        href : basePath + '/user/editLogin',
					        buttons : [ {
					            text : '确定',
					            handler : function() {
					                var f = parent.$.modalDialog.handler.find('#editUserPwdForm');
					                f.submit();
					            }
					        } ]
					    });
					
				/* 	
					  $.post(basePath + '/logout', function(result) {
			                result = $.parseJSON(result);
			                if(result.success){
			                    progressClose();
			                    window.location.href = basePath + '/';
			                }
			            }, 'text'); */
				}





			</script>
		</div>

	</div>
	<div data-options="region:'east',split:true" title="对象属性" style="width:200px;">

		<table id="pg" class="easyui-propertygrid" style="width:100%" data-options="
				url:'<%=basePath %>/util/east',
				method:'get',
				showHeader:false,
				scrollbarSize:0
			">
		</table>
	</div>
	<div  id = "west1" data-options="region:'west',split:true" title="系统管理" style="width:200px;">

		<div class="easyui-panel" style="width:100%">
			<ul  id = "tab_tt" ></ul>
		</div>
		<div id="tab_west1" hidden ="YES" >
			<div style="color:#99BBE8;background:#fafafa;padding:5px;font-size: 15px">选择画面风格:</div>
			<div style="padding:10px">
				<input type="radio" name="lang" value="01"><span>Office 2007(blue)</span><br/>
				<input type="radio" name="lang" value="01"><span>Office 2007(black)</span><br/>
				<input type="radio" name="lang" value="01"><span>Office 2007(silver)</span><br/>
				<input type="radio" name="lang" value="01"><span>Office 2007(aqua)</span><br/>
				<input type="radio" name="lang" value="01"><span>Windows 7</span><br/>
				<input type="radio" name="lang" value="02"><span>Office 2010(blue)</span><br/>
				<input type="radio" name="lang" value="02"><span>Office 2010(silver)</span><br/>
				<input type="radio" name="lang" value="02"><span>Office 2010(black)</span><br/>
			</div>
		</div>
		<div id="tab_west3" hidden ="YES">
			<div id ="cc1" class="easyui-calendar" style="width:190px;height:190px;margin: 2"></div>
			<div id ="cc2"  class="easyui-calendar" style="width:190px;height:190px;margin: 2"></div>
		</div>


	</div>
	<div  id ="content_center2"  data-options="region:'center',title:'表单',iconCls:''">

		<table id="tab_table" class="easyui-treegrid" style="width:100%;height:100%"
			   data-options="
				url: '<%=basePath %>/static/json/datagriddata.json',
				method: 'get',
				idField: 'id',
				treeField: 'region',
				fitColumns:true,
				onClickCell:ClickCell
			">
			<thead frozen="true">
			<tr>
				<th field="region" width="200">任务项</th>
			</tr>
			</thead>
			<thead>

			<tr>
				<th field="f1" width="60" align="right" >召测</th>
				<th field="f2" width="60" align="right">发送</th>
				<th field="f3" width="60" align="right">编辑</th>
				<th field="f4" width="60" align="right">批量设置</th>
				<th field="f5" width="60" align="right">批量召测</th>
			</tr>
			</thead>
		</table>
		<div id ="tab_content3" hidden ="YES" style="width: 100%;height: 100%">
			<iframe src="<%=basePath %>/static/jsp/contentdata3.jsp" width="99.5%" height="99%"></iframe>
		</div>
		<div id ="tab_content1" hidden ="YES" style="width: 100%;height: 100%;background-color: #E0ECFF; ">
			<a style="font-size: 36;margin-top: 80px;margin-left: 50px;margin-right:100px;width: 80%;height: 40px;">上海市用电力负荷管理系统<br></a>

			<div style="margin-top: 40px;margin-left: 50px;border-top:1px solid #000" >
				<a style="background-color: red;width: 800px">
					<br>
					<br>
				</a>
				<a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format',plain:true">终端开通调试、实时控制、数据召测</a>
				<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format',plain:true">批量任务日志管理、巡测日志管理</a>
				<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format',plain:true">信道巡测数据管理、实时状态切换与监控</a>
				<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format',plain:true">需求测应用互动定义与管理</a>
				<br><a href="#" class="easyui-linkbutton" data-options="name:'format',iconCls:'icon-format',plain:true">终端软件远程升级、历史升级日志管理</a>
			</div>
		</div>


	</div>
</div>
<div id="dlg" closed="true" class="easyui-dialog" title="提示内容" data-options="iconCls:'icon-save'" style="width:400px;height:200px;padding:10px">
</div>

	<div id="xd_dlg" closed="true" class="easyui-dialog" title="临时限电" style="width:100%;height:500px;max-width:230px;padding:10px" >
		当前检测负荷:
		<br><a  id="dqjcfh">599.7</a>
		<br>预期负荷:
		<br><a id="yqfh">299</a>

		<br><br>临时限电投入时间:<select class="easyui-combobox" name="state" style="width:60px;">
		<option value="AL1">1</option>
		<option value="AK1">2</option>
		<option value="AZ1">3</option>
		<option value="AR1">4</option>
		<option value="CA1">5</option>
		<option value="AL2">6</option>
		<option value="AK2">7</option>
		<option value="AZ2">8</option>
		<option value="AR2">9</option>
		<option value="CA2">10</option>
		<option value="AL11">11</option>
		<option value="AK11">12</option>
		<option value="AZ11">13</option>
		<option value="AR11">14</option>
		<option value="CA11">15</option>
		<option value="AL12">16</option>
		<option value="AK12">17</option>
		<option value="AZ12">18</option>
		<option value="AR12">19</option>
		<option value="CA12">20</option>
		<option value="AL13">21</option>
		<option value="AK13">22</option>
		<option value="AZ13">23</option>
		<option value="AR13">24</option>
		<option value="CA13">25</option>
		<option value="AL14">26</option>
		<option value="AK14">27</option>
		<option value="AZ14">28</option>
		<option value="AR14">29</option>
		<option value="CA14">30</option>
		<option value="AL15">31</option>
		<option value="AK15">32</option>
		<option value="AZ15">33</option>
		<option value="AR15">34</option>
		<option value="CA15">35</option>
		<option value="AL16">36</option>
		<option value="AK16">37</option>
		<option value="AZ16">38</option>
		<option value="AR16">39</option>
		<option value="CA16">40</option>
		<option value="AL1a">41</option>
		<option value="AK1a">42</option>
		<option value="AZ1a">43</option>
		<option value="AR1a">44</option>
		<option value="CA1a">45</option>
		<option value="AL1s">46</option>
		<option value="AK1s">47</option>
		<option value="AZ1s">48</option>
		<option value="AR1s">49</option>
		<option value="CA1s">50</option>
		<option value="AL1d">51</option>
		<option value="AK1d">52</option>
		<option value="AZ1d">53</option>
		<option value="AR1d">54</option>
		<option value="CA1d">55</option>
		<option value="AL1q">56</option>
		<option value="AK1q">57</option>
		<option value="AZ1q">58</option>
		<option value="AR1q">59</option>
		<option value="CA1q">60</option>
	</select>
		<br><br>对象限电下浮系数:<input  id = "faultProdNumber" class="easyui-numberspinner" value="50" style="width:60px;"  data-options="min:1,max:256,required:true,increment:1" style="width:60px;"></input>
		<br><br>&nbsp第一轮警告时间&nbsp&nbsp:<select class="easyui-combobox" name="state" style="width:60px;">
		<option value="AL1">5</option>
		<option value="AK1">10</option>
		<option value="AZ1">15</option>
		<option value="AR1">20</option>
		<option value="CA1">25</option>
		<option selected="selected" value="AL2">30</option>
		<option value="AK2">35</option>
		<option value="AZ2">40</option>
		<option value="AR2">45</option>
		<option value="CA2">50</option>
		<option value="AL3">55</option>
		<option value="AK3">60</option>
		<option value="AZ3">65</option>
		<option value="AR3">70</option>
		<option value="CA3">75</option>
	</select>
		<br><br>&nbsp第二轮警告时间&nbsp&nbsp:<select class="easyui-combobox" name="state" style="width:60px;">
		<option value="AL1">5</option>
		<option value="AK1">10</option>
		<option value="AZ1">15</option>
		<option value="AR1">20</option>
		<option value="CA1">25</option>
		<option  value="AL2">30</option>
		<option value="AK2">35</option>
		<option value="AZ2">40</option>
		<option value="AR2">45</option>
		<option value="CA2">50</option>
		<option value="AL3">55</option>
		<option value="AK3">60</option>
		<option value="AZ3">65</option>
		<option value="AR3">70</option>
		<option value="CA3">75</option>
	</select>
		<br><br>&nbsp第三轮警告时间&nbsp&nbsp:<select class="easyui-combobox" name="state" style="width:60px;">
		<option value="AL1">5</option>
		<option value="AK1">10</option>
		<option value="AZ1">15</option>
		<option value="AR1">20</option>
		<option value="CA1">25</option>
		<option  value="AL2">30</option>
		<option value="AK2">35</option>
		<option value="AZ2">40</option>
		<option value="AR2">45</option>
		<option value="CA2">50</option>
		<option value="AL3">55</option>
		<option value="AK3">60</option>
		<option value="AZ3">65</option>
		<option value="AR3">70</option>
		<option value="CA3">75</option>
	</select>
		<br><br>&nbsp第四轮警告时间&nbsp&nbsp:<select class="easyui-combobox" name="state" style="width:60px;">
		<option value="AL1">5</option>
		<option value="AK1">10</option>
		<option value="AZ1">15</option>
		<option value="AR1">20</option>
		<option value="CA1">25</option>
		<option  value="AL2">30</option>
		<option value="AK2">35</option>
		<option value="AZ2">40</option>
		<option value="AR2">45</option>
		<option value="CA2">50</option>
		<option value="AL3">55</option>
		<option value="AK3">60</option>
		<option value="AZ3">65</option>
		<option value="AR3">70</option>
		<option value="CA3">75</option>
	</select>
		<br><br>&nbsp&nbsp&nbsp&nbsp&nbsp<a href="#" onclick="touru('xd_dlg')" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">控点投入</a>
		&nbsp&nbsp&nbsp&nbsp&nbsp<a href="#"  onclick="dlg_close('xd_dlg')" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">控制取消</a>
		<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
		<a href="#" class="easyui-linkbutton" onclick="dlg_close('xd_dlg')" data-options="name:'format',iconCls:'',plain:true">关闭</a>
	</div>

	<div id="gk_dlg" closed="true" class="easyui-dialog" title="功控" style="width:100%;height:500px;max-width:230px;padding:10px" >
		<br>告警延长时间(分钟):<select class="easyui-combobox" name="state" style="width:60px;">
		<option value="AL0">0</option>
		<option selected="selected" value="AL1">15</option>
		<option value="AL2">30</option>
		<option value="AL3">45</option>
		<option value="AL4">60</option>
		<option value="AL5">75</option>
		<option value="AL6">90</option>
	</select>
		<br><br>计划控制时间(分钟):<select class="easyui-combobox" name="state" style="width:60px;">
		<option value="AL0">0</option>
		<option value="AL1">15</option>
		<option value="AL2">30</option>
		<option value="AL3">45</option>
		<option value="AL4">60</option>
		<option value="AL5">75</option>
		<option value="AL6">90</option>
	</select>
		<br><br>控制开关轮次:
		<br><input id="all" type="checkbox"  />第一轮
		<br><input id="all" type="checkbox"  />第二轮
		<br><input id="all" type="checkbox"  />第三轮
		<br><input id="all" type="checkbox"  />第四轮
		<br><br>&nbsp&nbsp&nbsp&nbsp&nbsp<a href="#" onclick="touru('gk_dlg')" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">控点投入</a>
		&nbsp&nbsp&nbsp&nbsp&nbsp<a href="#"  onclick="dlg_close('gk_dlg')" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">控制取消</a>
		<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
		<a href="#" class="easyui-linkbutton" onclick="dlg_close('gk_dlg')" data-options="name:'format',iconCls:'',plain:true">关闭</a>
	</div>

	<div id="dk_dlg" closed="true" class="easyui-dialog" title="临时限电" style="width:100%;height:500px;max-width:230px;padding:10px" >
		<br><br>保电时间(分钟):
		<br><select class="easyui-combobox" name="state" style="width:60px;">
		<option value="AL0">0</option>
		<option value="AL1">15</option>
		<option value="AL2">30</option>
		<option value="AL3">45</option>
		<option value="AL4">60</option>
		<option value="AL5">75</option>
		<option value="AL6">90</option>
	</select>

		<br><br>&nbsp&nbsp&nbsp&nbsp&nbsp<a href="#" onclick="touru('dk_dlg')" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">控点投入</a>
		&nbsp&nbsp&nbsp&nbsp&nbsp<a href="#"  onclick="dlg_close('dk_dlg')" class="easyui-linkbutton" data-options="name:'format',iconCls:'',plain:true">控制取消</a>
		<br>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
		<a href="#" class="easyui-linkbutton" onclick="dlg_close('dk_dlg')" data-options="name:'format',iconCls:'',plain:true">退出</a>
	</div>

	<div id="dlg_text" closed="true" class="easyui-dialog" title="确认"  style="width:400px;height:200px;padding:10px">


	</div>



</body>

</html>